package com.woniu.humanresource.service.impl;

import com.woniu.humanresource.dao.EmpInfoDao;
import com.woniu.humanresource.entity.EmployeeInformation;
import com.woniu.humanresource.service.EmpInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class EmpInfoServiceImpl implements EmpInfoService {
    @Resource
    EmpInfoDao EmpInfoDao;
    @Override
    public void insertEmpInfo(EmployeeInformation empInfo) {
        EmpInfoDao.insertEmpInfo(empInfo);
    }

    @Override
    public void deleteEmpInfo(int id) {
        EmpInfoDao.deleteEmpInfo(id);
    }


}
